<!DOCTYPE html >
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>超管-呼叫流水</title>
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <!--    <link rel="stylesheet" href="/css/productManager/productDetail.css"/>-->
    <link rel="stylesheet" href="/css/statisticsManager/common.css"/>
    <style>
        #customInput,#customInputTop{
            display: none;
        }
    </style>
</head>
<body>
<input type="hidden" id="companyId" name="companyId" th:value="${companyId}"/>
<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>呼叫流水</h1>
                </div>
                <div class="card-body">
                    <div class="row content-action">

                        <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 20px;">
                            <div class="timeList" >
                                <div class="time-search pull-left">
                                    <input type="hidden" id="dateTypeTop" name="dateTypeTop" value="day"/>
                                    <div class="topYear active-second" onclick="timeSelectTop(this,'day')">今日</div>
                                    <div class="year" onclick="timeSelectTop(this,'yesday')">昨日</div>
                                    <div class="week" onclick="timeSelectTop(this,'week')">本周</div>
                                    <div class="month" onclick="timeSelectTop(this,'month')">本月</div>
                                    <div class="customer" onclick="timeSelectTop(this,'')">自定义</div>
                                </div>

                                <div class="custom-input pull-left" id="customInputTop" style="margin-left: 10px;width: 410px;">
                                    <div class="input-group">
                                        <input type="text" class="form-control datepicker" placeholder="开始时间" id="startTmTop">
                                        <span class="input-group-addon">至</span>
                                        <input type="text" class="form-control datepicker" placeholder="结束时间" id="endTmTop">
                                        <div class="input-group-btn">
                                            <button type="button" class="btn btn-default" id="customDateBtnTop">确定</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="form-group chartModel col-lg-7 col-md-7 col-sm-7 col-xs-12" >
                            <div class="analy-entire" style="height: 450px">
                                <div class="customer-rate"><p>通话时长</p> </div>
                                <div style="width: 100%;height: 390px;padding: 0 10px;text-align: center;line-height: 390px;" id="talkTime"></div>
                            </div>
                        </div>

                        <div class="form-group chartModel col-lg-5 col-md-5 col-sm-5 col-xs-12" >
                            <div class="analy-entire" style="height: 450px">
                                <div class="customer-rate"><p>通话时长占比</p> </div>
                                <div style="width: 100%;height: 360px;padding-top: 30px;text-align: center;line-height: 360px;" id="talkTimePercentage"></div>
                            </div>
                        </div>

                        <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 20px;">
                            <div class="timeList" >
                                <div class="time-search pull-left">
                                    <input type="hidden" id="dateType" name="dateType" value="day"/>
                                    <div class="topYear active-second" onclick="timeSelect(this,'day')">今日</div>
                                    <div class="year" onclick="timeSelect(this,'yesday')">昨日</div>
                                    <div class="week" onclick="timeSelect(this,'week')">本周</div>
                                    <div class="month" onclick="timeSelect(this,'month')">本月</div>
                                    <div class="customer" onclick="timeSelect(this,'')">自定义</div>
                                </div>

                                <div class="custom-input pull-left" id="customInput" style="margin-left: 10px;width: 410px;">
                                    <div class="input-group">
                                        <input type="text" class="form-control datepicker" placeholder="开始时间" id="startTm">
                                        <span class="input-group-addon">至</span>
                                        <input type="text" class="form-control datepicker" placeholder="结束时间" id="endTm">
                                        <div class="input-group-btn">
                                            <button type="button" class="btn btn-default" id="customDateBtn">确定</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
                            <table id="newMember" ></table>
                        </div>


                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>

<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<script src="/js/crm/callcenter/callFlow.js"></script>

</html>